package com.shop.front.vo.index;

import com.shop.jpa.domain.BaseDomain;
import com.shop.front.vo.store.StoreProductReplyCountVo;
import com.shop.front.vo.store.StoreProductVo;
import com.shop.domain.store.StoreProductAttr;
import com.shop.domain.store.StoreProductAttrValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@ApiModel("ProductDetailIndexVo 首页")
@Data
public class ProductDetailIndexVo extends BaseDomain implements Serializable {

    private Long id;

    @ApiModelProperty("商品基本信息")
    private StoreProductVo productVo;

    @ApiModelProperty("商品详情")
    private String description;

    @ApiModelProperty("评论统计信息")
    private StoreProductReplyCountVo replyCount;

    @ApiModelProperty("商品规格列表")
    List<StoreProductAttr> productAttrList;

    @ApiModelProperty("指定规格的商品详情")
    StoreProductAttrValue productAttrValue;

    @ApiModelProperty("是否收藏")
    private Boolean isCollect;

}
